ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2024 feature!
Help / WLanguage / WLanguage functions / Standard functions / String functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Checks the validity of a UTF-8 buffer.
New in version 2024
Android This function is available for Android applications starting with version 2024 Update 1.
Java This function is available for Java applications, starting with version 2024 Update 1.
Android Widget This function is available for Android widgets, starting with version 2024 Update 1.
Example
bufUTF8 is Buffer
// Test: Valid UTF-8 buffer?
IF bufUTF8.UTF8Valid() THEN
// Yes => Convert to UNICODE
sUNICODE is UNICODE string = bufUTF8.UTF8ToString()
...
END
Syntax
<Result> = <Buffer to check>.UTF8Valid()
<Result>: Boolean
  • True if the UTF-8 string is valid,
  • False otherwise.
<Buffer to check>: Buffer
Buffer containing UTF-8 data.
Component: wd290vm.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2024

Send a report | Local help